import React from 'react';
import { Link, Outlet, useParams } from 'react-router-dom';
export default function RouterCom1() {
  console.log(useParams(), '接收参数');
  return (
    <div>
      RouterCom1 一级路由01
      <br />
      <Link to="/routercom1/rerchild1">壹级路由01的子路由</Link>
      <br />
      <Outlet />
    </div>
  );
}
